/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.sys.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.sys.entity.SysToken;
import com.thinkgem.jeesite.modules.sys.dao.SysTokenDao;

/**
 * 系统token记录Service
 * @author Jack
 * @version 2017-09-26
 */
@Service
@Transactional(readOnly = true)
public class SysTokenService extends CrudService<SysTokenDao, SysToken> {
	
	@Autowired
	SysTokenDao sysTokenDao;

	@Override
	public SysToken get(String id) {
		return super.get(id);
	}
	
	@Override
	public List<SysToken> findList(SysToken sysToken) {
		return super.findList(sysToken);
	}
	
	@Override
	public Page<SysToken> findPage(Page<SysToken> page, SysToken sysToken) {
		return super.findPage(page, sysToken);
	}
	
	@Override
	@Transactional(readOnly = false)
	public void save(SysToken sysToken) {
		super.save(sysToken);
	}
	
	@Override
	@Transactional(readOnly = false)
	public void delete(SysToken sysToken) {
		super.delete(sysToken);
	}
	
}